Page({
  data: {
    userInfo: {}
  },

  onLoad: function (options) {

  },
  getUserInfo: function (){
    wx.getUserProfile({
      desc: '用于完善会员资料',
      complete: (res) => {
          this.setData({userInfo: res.userInfo}) 
      }
  })
  },
  onReady: function () {

  },

  onShow: function () {

  },

  onHide: function () {

  },

  onUnload: function () {

  },

  onPullDownRefresh: function () {

  },

  onReachBottom: function () {

  },

  onShareAppMessage: function () {

  }
})